public class FXMethod {
    public static <A> void print(A t) {
        System.out.println(t.getClass());
        System.out.println(t);
    }

    public static void main(String[] args) {
        print("aaaaa");
        print(123);
        print(1.2);
        print(1L);
        print(1.f);
    }


}
